﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IYASAKAReport
{
    public static class ExMethod
    {
        public static string StrToIntVal(this string s)
        {
            string sResult = "";
            if (!string.IsNullOrEmpty(s))
            {
                Double d;
                if (Double.TryParse(s, out d))
                {
                    sResult = ((int)d).ToString();
                }

            }
            return sResult;
        }
    }
}
